package cn.nn200433.swagger.entity;

import javax.validation.constraints.NotBlank;

/**
 * 参数
 *
 * @author song_jx
 * @date 2022-03-25 07:23:38
 */
public class SwaggerParam {

    /**
     * swagger 地址
     */
    @NotBlank(message = "接口地址不能为空")
    private String swaggerUrl;

    /**
     * 文档名称
     */
    @NotBlank(message = "项目名称不能为空")
    private String documentName;

    /**
     * 是否自动翻译
     */
    private boolean autoTranslate;

    /**
     * 百度翻译 APP ID
     */
    private String baiduAppId;

    /**
     * 百度翻译 密钥
     */
    private String baiduAppKey;

    public String getSwaggerUrl() {
        return swaggerUrl;
    }

    public void setSwaggerUrl(String swaggerUrl) {
        this.swaggerUrl = swaggerUrl;
    }

    public String getDocumentName() {
        return documentName;
    }

    public void setDocumentName(String documentName) {
        this.documentName = documentName;
    }

    public boolean getAutoTranslate() {
        return autoTranslate;
    }

    public void setAutoTranslate(boolean autoTranslate) {
        this.autoTranslate = autoTranslate;
    }

    public String getBaiduAppId() {
        return baiduAppId;
    }

    public void setBaiduAppId(String baiduAppId) {
        this.baiduAppId = baiduAppId;
    }

    public String getBaiduAppKey() {
        return baiduAppKey;
    }

    public void setBaiduAppKey(String baiduAppKey) {
        this.baiduAppKey = baiduAppKey;
    }

}
